﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ThemDL.aspx.cs" Inherits="WebApplication2.ThemDL" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table class="style1">
            <tr>
                <td class="style3">
                    <asp:Label ID="Label1" runat="server" Text="Mã Sách"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtma" runat="server" Width="287px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="Label2" runat="server" Text="Tên Sách"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtten" runat="server" Width="282px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="Label3" runat="server" Text="Thể Loại"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="DropDownList1" runat="server" 
                        DataSourceID="SqlDataSource1" DataTextField="TheLoai" DataValueField="TheLoai">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:QLThuVienConnectionString3 %>" 
                        SelectCommand="SELECT [TheLoai] FROM [Sach]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="Label4" runat="server" Text="Số Trang"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtsotrang" runat="server" Width="277px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    <asp:Label ID="Label5" runat="server" Text="Đơn Giá"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtdongia" runat="server" Width="275px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2">
                    <asp:Button ID="btnluu" runat="server" onclick="btnluu_Click1" Text="Lưu" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
